package com.sparrow.manage.common.entity.result;

class NullOperateResult extends Result {
    private final boolean success = false;
    private final String msg = "空对象";
    private final String code = "";

    private NullOperateResult(){}

    static NullOperateResult INSTANCE = new NullOperateResult();

    @Override
    public String getMsg() {
        return msg;
    }

    @Override
    public boolean isSuccess() {
        return success;
    }

    @Override
    public String getCode(){
        return code;
    }
}
